[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    UNIT NAME:  PRINTER

  DECLARATION:  USES PRINTER;

      PURPOSE:  Declares a Text file associated with the printer.

      REMARKS:  The Printer Unit declares a Text file, called LST, and
                associates it with the LPT1: device.  This saves you from
                declaring, assigning, opening and closing the Text file
                in your programs.

      EXAMPLE:  Uses Printer;

                Begin
                   Writeln(Lst,'This is an example of printer output');
                End.

See Also: Write WriteLn
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson